<script lang="ts" setup>
import { useRoute, useRouter } from "vue-router";

const route = useRoute();
const router = useRouter();

if (route.params.path) {
  router.replace({ path: "/" + route.params.path, query: route.query });
}
</script>

<template>
  <div />
</template>
